const mongoose = require("mongoose");

const Schema = mongoose.Schema;

const stuSchema = new Schema({
    name: String,
    age: Number,
    gender: {
        type: String,
        default: "female"
    }
})

const stuModel = mongoose.model('students', stuSchema);

module.exports = stuModel;